home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextFieldCut.z / XmTextFieldCut
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX))))        UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt - A TextField function that copies the
  10.           primary selection to the clipboard and deletes the selected
  11.           text
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/TextF.h>
  15.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt(
  16.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  17.           TTTTiiiimmmmeeee ttttiiiimmmmeeee);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt copies the primary selected text to the
  24.           clipboard and then deletes the primary selected text.  This
  25.           routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
  26.           verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
  27.           XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
  28.           callback lists are registered, the procedures of the
  29.           XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
  30.           resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
  31.           callbacks.
  32.  
  33.           This routine calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures,
  34.           possibly multiple times, with the _s_e_l_e_c_t_i_o_n member of the
  35.           XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt set to _C_L_I_P_B_O_A_R_D and with the _p_a_r_m
  36.           member set to XXXXmmmmMMMMOOOOVVVVEEEE.  If the transfer is successful, this
  37.           routine then calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures for the
  38.           _C_L_I_P_B_O_A_R_D selection and the _D_E_L_E_T_E target.
  39.  
  40.           _w_i_d_g_e_t    Specifies the TextField widget ID.
  41.  
  42.           _t_i_m_e      Specifies the time at which the selection value is
  43.                     to be modified. This should be the time of the
  44.                     event that triggered this request.
  45.  
  46.           For a complete definition of TextField and its associated
  47.           resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  48.  
  49.      RRRREEEETTTTUUUURRRRNNNN
  50.           This function returns False if the primary selection is
  51.           NULL, if the _w_i_d_g_e_t does not own the primary selection, if
  52.           the function is unable to gain ownership of the clipboard
  53.           selection, or if no data is placed on the clipboard.
  54.           Otherwise, it returns True.
  55.  
  56.      RRRREEEELLLLAAAATTTTEEEEDDDD
  57.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.